<?php
// +----------------------------------------------------------------------
// | Author: yaoyihong <510974211@qq.com>
// +----------------------------------------------------------------------
namespace addon\payment\model;
use \think\Request;
use app\common\model\AddonBase;
use Think\Db;
class Payment extends AddonBase
{
    protected $insert = ['datetime'];

    protected function setDatetimeAttr($value){
    	return time();
    }

    protected function setPayConfigAttr($value)
    {
        return json_encode($value);
    }
}
